
class ProblemInfo:
	def __init__ (self, kv):
		self.problem_kv = kv
		self.oj_name = kv.get('oj_name')
		self.id = kv.get('id')
		self.title = kv.get('title')
		self.time_limit = kv.get('time_limit')
		self.mem_limit = kv.get('mem_limit')
		self.description = kv.get('description')
		self.pro_input = kv.get('pro_input')
		self.pro_output = kv.get('pro_output')
		self.sample_input = kv.get('sample_input')
		self.sample_output = kv.get('samplt_output')
		self.hint = kv.get('hint')
		self.source = kv.get('soruce')

	def show(self):
		for k, v in self.problem_kv.iteritems():
			print('{}: {}'.format(k, v))
	
